﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ChoViet.Lib.Common;
namespace ChoViet.Site.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            try
            {
                //ViewData["Message"] = "Welcome to ASP.NET MVC!";
                ViewData["LanguageID"] = Session["LanguageID"].ToString();
                return View();
            }
            catch (Exception exp)
            {
                ErrorLog.WriteLog(exp);
                return View();
            }
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
